package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检测项字典对象 detection_item
 * 
 * @author ruoyi
 * @date 2025-10-22
 */
public class DetectionItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 检测项ID（主键） */
    private Long itemId;

    /** 检测项名称 */
    @Excel(name = "检测项名称")
    private String itemName;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 数据类型 */
    @Excel(name = "数据类型")
    private String dataType;

    /** 标准最小值 */
    @Excel(name = "标准最小值")
    private BigDecimal minStandard;

    /** 标准最大值 */
    @Excel(name = "标准最大值")
    private BigDecimal maxStandard;

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }

    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setDataType(String dataType) 
    {
        this.dataType = dataType;
    }

    public String getDataType() 
    {
        return dataType;
    }

    public void setMinStandard(BigDecimal minStandard) 
    {
        this.minStandard = minStandard;
    }

    public BigDecimal getMinStandard() 
    {
        return minStandard;
    }

    public void setMaxStandard(BigDecimal maxStandard) 
    {
        this.maxStandard = maxStandard;
    }

    public BigDecimal getMaxStandard() 
    {
        return maxStandard;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("itemName", getItemName())
            .append("unit", getUnit())
            .append("dataType", getDataType())
            .append("minStandard", getMinStandard())
            .append("maxStandard", getMaxStandard())
            .append("remark", getRemark())
            .toString();
    }
}
